package com.jhgsys.internal.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @className TenantMenu
 * @description 租户菜单表
 * @author DingHaiTao
 * @date: 2024/7/17 15:48
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName("BASIC_TENANT_MENU")
public class TenantMenu implements Serializable {

    private static final long serialVersionUID = 2354394771912648578L;
    /**
     * ID
     */
    @TableId(value = "tenant_menu_id", type = IdType.ASSIGN_UUID)
    private String tenantMenuId  ;

    /**
     * 租户ID
     */
    @TableField("tenant_id")
    private String tenantId;

    /**
     * 菜单ID
     */
    @TableField("menu_id")
    private String menuId;

    /**
     * 创建人
     */
    @TableField("created_by")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField("created_time")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField("updated_by")
    private String updatedBy;

    /**
     * 修改时间
     */
    @TableField("updated_time")
    private Date modifyTime;

    /**
     * 删除人
     */
    @TableField("deleted_by")
    private String deletedBy;

    /**
     * 删除时间
     */
    @TableField("deleted_time")
    private Date deletedTime;

    /**
     * 删除标记
     */
    @TableField("deleted_flg")
    private String deletedFlg;

}
